package com.hibernate;

import org.hibernate.Session;
import org.junit.Before;
import org.junit.Test;

public class TestHibernateSessionFactory {

	private Session session;
	
	@Before
	public void init(){
		session  =  HibernateSessionFactory.getSession();
	}
	
	@Test
	public void getSession(){
		//ExtMainType e = (ExtMainType) session.get(ExtMainType.class, 1);
		//org.junit.Assert.assertTrue(e.getIsView().toString().equals("1"));
	}
}
